package com.socialcoco.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 赵志浩
 * @since 2022-03-17 09:16:50
 */
@Data
@TableName("commentlist")
@ApiModel(value = "Comment对象", description = "")
public class Comment implements Serializable {

      @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("didss")
    private Integer didss;

    @TableField("textarea")
    private String textarea;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;

    @TableField("uid")
    private Integer uid;

    private User user;

    private List<Reply> replyList;

}
